/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.sive.entidadLocal;

import cr.ac.una.sive.entidad.Color;
import java.util.ArrayList;

/**
 *
 * @author claribel
 */
public class ColorLocal extends Color{
    
     private boolean selected;
     
//    private ArrayList listaColores = new ArrayList();
//
//    public ArrayList getListaColores() {
//        return listaColores;
//    }
//
//    public void setListaColores(ArrayList listaColores) {
//        this.listaColores = listaColores;
//    }
    
    
    public ColorLocal(Color color) {
        this.setIdColor(color.getIdColor());
        this.setNombre(color.getNombre());
        this.selected = false;
    }

    public ColorLocal() {
    }
    
    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public boolean isSelected() {
        return selected;
    }
}
